package com.bbs2.entity;

import java.util.List;

public class Board {
	private int id;
	private String name;
	private int flag;
	private List<Post> postlist;
	private List<User> userlist;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}
	public List<Post> getPostlist() {
		return postlist;
	}
	public void setPostlist(List<Post> postlist) {
		this.postlist = postlist;
	}
	public List<User> getUserlist() {
		return userlist;
	}
	public void setUserlist(List<User> userlist) {
		this.userlist = userlist;
	}
	
}
